@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  color: #333;
}

img {
  max-height: 100%;
}

a {
  @apply font-medium text-[#0D75D7];
}

a:hover {
  @apply text-[#0D75D7];
}

.header {
  .img {
    width: 100%;
  }

  .content {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
  }

  h1 {
    margin-top: -25px;
    margin-left: 40px;
    font-size: 50px;
    font-weight: normal;
    line-height: 1;
    color: #055bbb;

    b {
      font-weight: bold;
    }
  }
}

main {
  background-color: #fff;

  h2 {
    padding: 41px 15px 5px;
    font-size: 30px;
    font-weight: bold;
  }

}

@media screen and (max-width: 640px) {
  .header {
    h1 {
      margin-top: -12.5px;
      margin-left: 15px;
      font-size: 25px;
    }
  }

  .nav {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    visibility: hidden;
    background-color: rgba(0,0,0, 0.3);
    opacity: 0;
    transition: all 0.25s ease-in-out;
  }

  .modal-menu {
    min-width: 25%;
    text-align: center;
    background-color: #fff;
    transition: transform 0.25s ease-in-out;
    transform: translateX(100%);
  }

  .menu-btn {
    width: 23px;
    height: 27px;
    object-fit: contain;
  }

  .show {
    visibility: visible;
    opacity: 1;

    .modal-menu {
      transform: translateX(0);
    }
  }

  .modal-menu-item {
    padding: 15px 45px;
    font-size: 15px;

    a {
      color: #333;
    }

    .active {
      font-weight: 600;
      color: #0d75d7;
    }
  }
}

@media not all and (max-width: 640px) {
  body {
    width: 120rem;
    margin: 0 auto;
  }

  .header {
    background-color: #fff;

    .modal-menu {
      display: flex;
      justify-content: space-between;
      width: 550px;
    }

    .modal-menu-item {
      text-align: center;

      a {
        color: #333;
      }

      .active {
        color: #0d75d7;
      }
    }
  }

  .main {
    padding-bottom: 4rem;
    box-shadow: 0 0 20px 5px rgba(38,74,148, 0.1);

    h2 {
      padding: 94px 0 15px;
    }
  }

  .footer {
    padding-top: 58px;
    padding-bottom: 30px;

    .footer-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .title {
      margin-bottom: 30px;
      font-size: 26px;
      line-height: 1;
    }

    .addr {
      font-size: 18px;
      line-height: 40px;
    }
  }
}
